package com.example.dessertstoressm.Service;

import com.example.dessertstoressm.domain.Order;

import java.util.List;

public interface OrderService {
    List<Order> getOrdersByUsername(String username);

    Order getOrder(int orderId);

    void insertOrder(Order order);

    void insertOrderStatus(Order order);

    int getNextId(String name);

    void updateOrderPayStatus(Order order);
}
